package com.shd.edanpei.bean;

import com.shd.edanpei.common.Constant;
import com.shd.edanpei.util.DateUtils;


public class TeamOrderModel {

    private String createUserName;//入团时间
    private long firmLoanTime;//订单完成时间
    private int lastAmount;//订单交易金额
    private int orderId;//订单ID
    private String orderNo;//订单号
    private int orderType;//订单类型
    private int returnAmont;//返利金额
    private int userId;//订单完成者ID

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getFirmLoanTime() {
        return "订单完成时间：" + DateUtils.formatTime(firmLoanTime, Constant.Time.YYYY_MM_DD_HH_MM_SS.getTime());
    }

    public void setFirmLoanTime(long firmLoanTime) {
        this.firmLoanTime = firmLoanTime;
    }

    public String getLastAmount() {
        return lastAmount + "元";
    }

    public void setLastAmount(int lastAmount) {
        this.lastAmount = lastAmount;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public int getReturnAmont() {
        return returnAmont;
    }

    public String getReturnAmontStr() {
        return "(返利" + getReturnAmont() + "元)";
    }

    public void setReturnAmont(int returnAmont) {
        this.returnAmont = returnAmont;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
